The White House said Mr. Biden had spoken to Mr. Harris and Mr. Trump. Mr. Biden congratulated Mr. Trump and invited him to the White House, where he will address the nation on Thursday.